package com.tv.cms.authcode.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tv.cms.base.model.BaseModel;
import lombok.Data;

import java.util.Date;

/**
 * TODO
 *
 * @author
 * @date
 **/
@Data
public class AuthCode extends BaseModel {

    private Integer id;
    @Excel(name = "授权码", width = 20)
    private String authCode;
    @Excel(name = "套餐名称", width = 20)
    private String goodsName;
    @Excel(name = "授权天数")
    private Integer days;
    @Excel(name = "MAC")
    private String mac;
    @Excel(name = "订单编号")
    private String orderNo;
    @Excel(name = "用户名")
    private String name;
    @Excel(name = "密码")
    private String pwd;
    @Excel(name = "激活时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date activityTime;
    private Integer deviceInfoId;

    @Excel(name = "详情")
    private String comment;
    private Integer number;
    @Excel(name = "有效期")
    private Integer valiDays;
    //二维码
    private String core;
    private String coreMac;
    private Integer operatorId;
    private Integer orderId;
    private String operatorIds;
    private Integer deviceStatus;
    private String sn;
    private String remark;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date expDate;
    private Integer type;
}
